﻿using System.Globalization;

namespace Fuse8.GlobalizationFramework.Infrastructure
{
    /// <summary>
    /// Provides default settings
    /// </summary>
    public class DefaultGlobalizationSetting : IGlobalizationSetting
    {
        /// <summary>
        /// Returns CultureInof.CurrentCulture
        /// </summary>
        public virtual CultureInfo CurrentCulture
        {
            get { return CultureInfo.CurrentCulture; }
        }

        /// <summary>
        /// Returns 'en-GB'
        /// </summary>
        public virtual CultureInfo DefaultCulture
        {
            get { return new CultureInfo("en-GB"); }
        }

        /// <summary>
        /// Resturns 1000
        /// </summary>
        public virtual int SiteId
        {
            get { return 1000; }
        }

        /// <summary>
        /// Resturns 1
        /// </summary>
        public virtual int SiteGroupId
        {
            get { return 1; }
        }

        /// <summary>
        /// Resturns 'GlobalizationDatabase'
        /// </summary>
        public virtual string ConnectionStringName
        {
            get { return "GlobalizationDatabase"; }
        }
    }
}